####修复审批数据
# 销售出库单刷审批老数据
curl http://127.0.0.1:2019/pro/v1/script/contarct/outstock/addDataForProcess -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 销售退货入库单刷审批老数据
curl http://127.0.0.1:2019/pro/v1/script/refund/instock/addDataForProcess -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'

######出库数量、促销修复脚本,以下五个脚本必须按顺序执行，前一个跑完再跑下一个
# 刷订货单解释(修出库数量attr)
curl  http://ptjobs.xbongbong.com.cn/pro/v1/script/distributor/repairShipmentsNumExplain -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 刷出库数量key为空
curl  http://ptjobs.xbongbong.com.cn/pro/v1/script/distributor/data/repairShipmentsNumData -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 刷订货单解释(修促销attr)
curl  http://127.0.0.1:2019/pro/v1/script/distributor/repairPromotionExplain -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 刷促销key为空
curl  http://127.0.0.1:2019/pro/v1/script/distributor/data/repairPromotionData -X POST -H 'Content-type: application/json' -d '{"corpid": "1","corpidList":[],"userId": "1","platform": "web","frontDev":"1","xbbCode": "123456"}'
# 同步合同和订货单产品数据
curl  http://ptjobs.xbongbong.com.cn/pro/v1/esInit/initAllByBuss  -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","saasMark":1,"businessType":204,"byCorpid":0,"businessTypeList":[204], "async":true}'
